import mongoose from "mongoose";
// import { encrypt } from "../utils/bcryptjs";
const dailyRuler = new mongoose.Schema({
  content: { type: String },
  imgs: { type: Array },
  userid: { type: mongoose.Schema.Types.ObjectId, require: true },
  status:{type:Boolean,default:true},
  // favorbedianzanid: { type: mongoose.Schema.Types.ObjectId, require: true  },
  // collectbedianzanid: { type: mongoose.Schema.Types.ObjectId, require: true  },
  createTime: {
    type: Date,
    default: Date.now,
  },
});
const dailyModel = mongoose.model("dailyInfo", dailyRuler);
export { dailyModel };
